//import angular core
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule }    from '@angular/forms';

//import my modules
import { PhotoRoutingModule } from './photo-routing.module';

//import my components
import { PhotoComponent } from './photo.component';
import { PhotoListComponent } from './photo-list/photo-list.component';
import { PhotoDetailComponent } from './photo-detail/photo-detail.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    PhotoRoutingModule
  ],
  declarations: [
    PhotoComponent,
    PhotoListComponent,
    PhotoDetailComponent
  ]
})
export class PhotoModule { }
